function x = smoothsmooth(x,K)

x = flipud(filter(ones(1,K),K,flipud(filter(ones(1,K),K,x))));